
#import "FAMMinePrivacyViewController.h"
#import <WebKit/WebKit.h>
@interface FAMMinePrivacyViewController ()
@property (weak, nonatomic) IBOutlet WKWebView *FAMWKWebView;

@end

@implementation FAMMinePrivacyViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.FAMWKWebView.scrollView.backgroundColor = kClearColor;
#if DEBUG
    if (self.FAMIsPrivacy) {
        [self.FAMWKWebView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"https://resfam.preproduce.net/privacy-policy.html"]]];
    }else{
        [self.FAMWKWebView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://resfam.preproduce.net/user-agreement.html"]]];
    }
#else
    if (self.FAMIsPrivacy) {
        [self.FAMWKWebView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://res.cameracalctr.com/privacy-policy.html"]]];
    }else{
        [self.FAMWKWebView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://res.cameracalctr.com/user-agreement.html"]]];
    }
#endif
}



@end
